all: hamming enhance filter

hamming: hamming.c
	gcc -I/usr/include/opencv -L/usr/lib -o hamming hamming.c -lcxcore -lcv -lcvaux -lhighgui -lm

enhance: doenhance.c
	gcc -I/usr/include/opencv -L/usr/lib -o enhance doenhance.c -lcxcore -lcv -lcvaux -lhighgui -lm

filter: filter.c
	gcc -I/usr/include/opencv -L/usr/lib -o filter filter.c -lcxcore -lcv -lcvaux -lhighgui -lm

lab: hamminglab enhancelab filterlab

hamminglab: hamming.c
	gcc -I/afs/nd.edu/courses/cse/cse30332.01/opencv/include/opencv -L/afs/nd.edu/courses/cse/cse30332.01/opencv/lib -o hamming hamming.c -lcxcore -lcv -lcvaux -lhighgui 

enhancelab: doenhance.c
	gcc -I/afs/nd.edu/courses/cse/cse30332.01/opencv/include/opencv -L/afs/nd.edu/courses/cse/cse30332.01/opencv/lib -o enhance doenhance.c -lcxcore -lcv -lcvaux -lhighgui 

filterlab: filter.c
	gcc -I/afs/nd.edu/courses/cse/cse30332.01/opencv/include/opencv -L/afs/nd.edu/courses/cse/cse30332.01/opencv/lib -o filter filter.c -lcxcore -lcv -lcvaux -lhighgui 

clean:
	rm hamming enhance filter
	
